#ifndef TANKKIPELI_H_
#define TANKKIPELI_H_

#define MENU 	10
#define MENU2	15
#define GAME 	20
#define END		30
#define QUIT	50

#include <iostream>
#include "SDL_initialize.h"
//#include "GameLogic.h"
#include "Game.h"
#include "MenuModel.h"
#include "MenuView.h"

#include "SDL/SDL.h"

class Tankkipeli
{
public:
	static Tankkipeli* luoTankkipeli();
	virtual ~Tankkipeli();
	void startGame();
	void running();
	void pollInput();
private:
	Tankkipeli();
	static Tankkipeli* pInstance;
	SDL_initialize* tankGame;
	SDL_Surface* gameView;
	SDL_Event* event;
	
	Game* game;
	MenuModel* menuM;
	MenuController* menuC;
	MenuView* menuV;
	
	bool endGame;
	SDLKey button;
	int gameState;
};

#endif /*TANKKIPELI_H_*/
